package edu.psu.geovista.app.gmatrix.toolkit;

import java.awt.*;
import java.util.Set;
/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Nov 17, 2005$
 * @version: 1.0
 */

public interface MouseSelectTarget {
    /**
     *  
     * @param init        
     * @param last        
     * @param current     
     * @return            
     */
    public Set <Point> findMouseSelection(Point init, Point last, Point current);
   // public void updateGUI();

    /**
     *
     * @param totalSel             
     * @param curSel
     * @param selectingFinish      false: continue mouse dragging; true, mouse release
     */
     public void mouseSelect(Set<Point> totalSel, Set<Point> curSel, boolean selectingFinish);

    /**
     * update GUI to clear selection
     */
    public void mouseClearSelection();

}
